#include<stdio.h>
#include<unistd.h>

int main()
{
    pid_t id = fork();
    if(id==0)
    {
        while(1)
        {
            printf("I am child process pid:%d, id:%d ,%p\n",getpid(),id,&id);
            sleep(1);
        }
    }
    else
    {
        while(1)
        {
            printf("I am father process pid:%d, id:%d ,%p\n",getpid(),id,&id);
            sleep(1);
        }
    }

    return 0;
}